﻿using Ace.AutoMapper;
using Ace.Entity.Wiki;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Ace.Application.Wiki
{
    


   


    public class UsersRoleInputBase : ValidationModel
    {

        public string RoleName { get; set; }

        public int MonthDays { get; set; }

        /// <summary>
        /// 等级折扣 0.85
        /// </summary>
        public decimal MonthFee { get; set; }


        public int YearDays { get; set; }

        /// <summary>
        /// 充值金额
        /// </summary>
        public decimal YearFee { get; set; }

        public int ST { get; set; }


    }

    [MapToType(typeof(Users_Role))]
    public class AddUsers_RoleInput : UsersRoleInputBase
    { 
    }

    [MapToType(typeof(Users_Role))]
    public class UpdateUsers_RoleInput : UsersRoleInputBase
    {
        [RequiredAttribute(ErrorMessage = "{0}不能为空")]
        public int ID { get; set; }
    }
}
